package com.leo.quartz.controller;

import com.leo.base.AbstractController;
import com.leo.quartz.common.lang.PageView;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 登录Controller
 *
 * @author liusl
 * @version 1.0
 * @date 2018/12/6 20:25
 */
@Controller
public class LoginController extends AbstractController {
    @RequestMapping("/login.html")
    public ModelAndView login(){
        return buildModelAndView(PageView.LOGIN);
    }

    @RequestMapping("/logout.html")
    public ModelAndView logout(){
        return buildModelAndView(PageView.LOGIN);
    }
}
